package com.test.design.pattern.visitor;

/**
 * @ClasName Someone
 * @Descripution TODO 具体访问者角色类(其他人)
 * @Author USER
 * @Date 2022/2/25 11:30
 * @Version V1.0
 */
public class Someone implements Person {

    public void feed(Cat cat) {
        System.out.println("其他人喂食猫");
    }

    public void feed(Dog dog) {
        System.out.println("其他人喂食狗");
    }
}
